feat: add native Claude Code Plugin with auto-discovery Skill#19
Merged
feat: add native Claude Code Plugin with auto-discovery Skill#19
Conversation
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Purpose
Transform claude-code-docs from a shell-script-only tool into a native Claude Code Plugin. This gives users a zero-dependency installation path, an auto-discovery Skill that proactively searches docs without requiring
/docs, and session-start auto-updates.What Changed
New: Plugin Structure (
plugin/)plugin/.claude-plugin/plugin.jsonplugin/commands/docs.md/docsslash command — AI-powered intent classification, scoped search, synthesisplugin/skills/claude-docs/SKILL.mdplugin/skills/claude-docs/manifest-reference.mdplugin/hooks/hooks.json+sync-docs.sh.claude-plugin/marketplace.jsoncostiash/claude-code-docsUpdated: Existing Files
README.mdCLAUDE.mddocs.claude.comURLs in examplesCHANGELOG.md.gitignore.envKey Fixes
claude-code__<page>.md→https://code.claude.com/docs/en/<page>docs__en__<section>__<page>.md→https://platform.claude.com/en/docs/<section>/<page>docs.anthropic.comanddocs.claude.comcitations (these domains are dead/wrong)docs.claude.com→platform.claude.comthroughoutWhy This Matters
Eval results (6 evals, with-skill vs without-skill):
The skill's primary value is URL mapping guidance. Without the skill, Claude consistently generates plausible-looking but broken citation URLs (
docs.anthropic.com,docs.claude.com). With the skill, every URL is correct.Plugin vs Script Install
/docs -t)/docscommand/docscommandTest Plan
claude-code__anddocs__en__files.gitignoreexcludes eval workspace and.env/install-plugin costiash/claude-code-docsverified locally